package com.fortune.dto.excution;

import com.fortune.base.BaseAPIExcution;
import com.fortune.enums.ProductCategoryEnum;

public class ProductCategoryExcution<T> extends BaseAPIExcution<T> {
    public ProductCategoryExcution(T t, ProductCategoryEnum productCategoryEnum){
        this.data = t;
        this.status = productCategoryEnum.isStatus();
        this.msg = productCategoryEnum.getMsg();
    }
}
